package com.ttpai.boot.lbs.model;

import com.ttpai.boot.lbs.util.DateUtil;

import java.util.Date;

/**
 * --   `AUCTION_ID` int(11) NOT NULL DEFAULT '0' COMMENT '线索ID',
 * --   `INVITATION_TIME` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' COMMENT '设置邀约状态时间(用于统计）',
 * --   `CHECK_TIME` datetime DEFAULT '0000-00-00 00:00:00' COMMENT '检测时间',
 * --   `CHECK_ADMIN_NAME` varchar(50) DEFAULT NULL,
 * --   `CITY_NAME` varchar(50) DEFAULT '' COMMENT '城市名称（冗余字段，避免多表查询）',
 * --   `AREA_NAME` varchar(50) DEFAULT '' COMMENT '区名称（冗余字段，避免多表查询）',
 * --   `ADDRESS` varchar(200) DEFAULT '' COMMENT '检测地点',
 * --   `LNG` decimal(13,10) DEFAULT NULL,
 * --   `LAT` decimal(13,10) DEFAULT NULL,
 * <p>
 * Created by kail on 2017/3/11.
 */
public class BossInvitationVO extends BaseVO {

    private Integer auctionId;
    private Date invitationTime;
    private Date checkTime;
    private String checkAdminName;
    private String cityName;
    private String areaName;
    private String address;
    private Double lng;
    private Double lat;
    private Integer handFix;

    public Integer lineIndex;
    public Integer pointIndex;
    public Integer done;


    public String getCheckTimeStr() {
        return DateUtil.format(checkTime, DateUtil.format_ymd_hms);
    }

    public void setCheckTimeStr(String checkTimeStr) {
        this.checkTime = DateUtil.format(checkTimeStr, DateUtil.format_ymd_hms, null);
    }

    public Integer getAuctionId() {
        return auctionId;
    }

    public void setAuctionId(Integer auctionId) {
        this.auctionId = auctionId;
    }

    public Date getInvitationTime() {
        return invitationTime;
    }

    public void setInvitationTime(Date invitationTime) {
        this.invitationTime = invitationTime;
    }

    public Date getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(Date checkTime) {
        this.checkTime = checkTime;
    }

    public String getCheckAdminName() {
        return checkAdminName;
    }

    public void setCheckAdminName(String checkAdminName) {
        this.checkAdminName = checkAdminName;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Double getLng() {
        return lng;
    }

    public void setLng(Double lng) {
        this.lng = lng;
    }

    public Double getLat() {
        return lat;
    }

    public void setLat(Double lat) {
        this.lat = lat;
    }

    public Integer getHandFix() {
        return handFix;
    }

    public void setHandFix(Integer handFix) {
        this.handFix = handFix;
    }

    public Integer getLineIndex() {
        return lineIndex;
    }

    public void setLineIndex(Integer lineIndex) {
        this.lineIndex = lineIndex;
    }

    public Integer getPointIndex() {
        return pointIndex;
    }

    public void setPointIndex(Integer pointIndex) {
        this.pointIndex = pointIndex;
    }

    public Integer getDone() {
        return done;
    }

    public void setDone(Integer done) {
        this.done = done;
    }
}
